/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ar.edu.unicen.twitter.suggest.backend.recommendation.CriterioUsuario;

import ar.edu.unicen.twitter.suggest.commons.dtos.Usuario;

/**
 *
 * @author Marcio
 */
public class CriterioTweets extends CriterioUsuario{

    public CriterioTweets(int m){
        super(m); 
    }

    @Override
    public boolean cumple(Usuario u) {
        if(u.getTweetsCount()>=minVal){
            return true;
        }
        return false;
    }

 @Override
    public void reset() {
        
    }
}
